package com.mie.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * @Author Mie
 * @Description
 * @Date 2021/11/11 13:51
 **/
public interface FileService {

    //根据uuid获取文件信息
    Map getFileData(String newName);

    //上传文件
    Map uploadFile(MultipartFile file);

    //根据uuid下载文件
    void downloadFile(String uuid, HttpServletResponse rs);
}
